: Rsync-av Root@172.16.78.192::www/databack5) Copy files from the local machine to the remote rsync server. This mode is started when the DST path information contains the "::" delimiter. such as: Rsync-av/databack root@172.16.78.192::www6) The list of files for the remote machine is listed. This is similar to the rsync
Server Information)
Server configuration file (/etc/rsyncd. conf). This file does not exist by default. Please create it.
The procedure is as follows:
# Touch/etc/rsyncd. conf # create rsyncd. conf, which is the configuration file of the rsync server.# Touch/etc/rsyncd. secrets # create rsyncd. secrets, which is the user password file.# Chmod 600/etc/rsyncd. secrets # Set the File Attribute of the rsyncd. secrets password file to root and set the p
I. INTRODUCTION
Rsync's common backup tool, which is currently maintained by Rsync.samba.org.
Rsync uses the so-called "rsync algorithm" to provide a very fast file transfer method, so that the local and remote two of the host file synchronization between, it is mainly the transmission of the two files, rather than the entire transmission every time, so the speed
view of the directory
-Q is printing out events
-e Create,move,delete,modify,attrib refers to the "Listen for Create move delete Write permission" event
rsync parameters
============================================
-V,--verbose verbose mode output
-Q,--quiet thin output mode
-C,--checksum Open the check switch to force the file transfer to verify
-A,--archive archive mode, which represents the transfer of files recursively and maintains all f
CentOS Remote Backup Using rsync
This article provides a quick way to back up the most common things in a typical Web host scenario: website files and database data. We will set up a complete daily backup of the folder of a website and copy the data to a remote server (this can also work on another VPS ). We will also
Article Title: remote backup from Linux to Windows using rsync (group chart ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Rsync is a data image
Rsync is a data image backup tool in unix-like systems. It can be used not only in linux systems, but also in windows systems and cross-platform data backup. Now many webmasters use it.
Requirement: content on a server is backed up to a remote disaster recovery server on a regular basis every day. To save space and improve transmission efficiency, Incremental
Rsync is a data image backup tool in Linux. It can be seen from the software name-Remote Sync. Rsync supports most UNIX-like systems, including Linux, Solaris, and BSD. The latest version of rsync can be found at http://rsync.samba.org/rsync. Its features are as follows: 1.
Real-time file backup using Linux commands-incron, rsync, and inotify
I,Rsync, incronIntroduction
For details about the rsync tool and its use with the cron tool for Scheduled backup, refer to the blog: http://blog.csdn.net/wangju
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/38/17/wKiom1OyhAuDcVADAABNuIyGy5A162.png "Title =" fenfa. PNG "alt =" wkiom1oyhaudcvadaabnuiygy5a162.png "/>
I. rsync
Compared with traditional CP and tar backup methods, rsync has the advantages of high security, fast backup, and support for Incremental
synchronizes character/block devices and special files named Sockets and FIFO.
-V
Indicates the details of the output backup
-Z
Indicates compression on transfer
–delete
Delete files that are not in SRC in the backup destination
src/
Indicates that you want to back up all the contents of the SRC director
Rsync is an efficient remote data backup tool. The port number of this service is 873,
Is a non-independent service under Liunx, managed by the xinetd super service, instead of listening to port 873.
Advantages:
1. rsync can use ssh and ssl remote control to connect to a remote host for backup, depending on the sshd se
Rsync is a data image backup tool in Linux. It can be seen from the software name-remote sync. Rsync supports most Unix-like systems, including Linux, Solaris, and BSD. The latest version of rsync can be found at http://rsync.samba.org/rsync. Its features are as follows:1. i
background:
0. Server data is very important and will be in trouble once disk corruption occurs. As a manager, it is necessary to synchronize the data in real time.
1. Rsync is a good and backup tool, let's take Ubuntu as an example to talk about its compounding.
2. If my server a IP is 10.141.247.12, the IP of my backup client B is 10.141.247.13
server-side com
is the Certified module name, which needs to be specified on the client side
Path=/var/mail # need to do a mirrored directory
Comment = Backup Mail # comment
Ignore errors # Ignores some irrelevant IO errors
Read Only = yes # reading only
List = no # does not allow column files
Auth users = postfix # Specify user
Secrets File=/etc/rsyncd.pwd # Authentication file name, mainly save user password, permissions set to 600, owner root, or client will erro
Feature Description:The script is used to transfer the local directory to the remote server on a regular basis (in conjunction with crontab), with each execution generating a time-named directory, and the current version of the data is linked to a symbolic link with the first name, so it is easy to find and recover. Before the data transfer is complete, it is transferred to the TEMP directory, which is named "Time-incomplete". Backups older than 10 days will be deleted and log files older than 1
password file configured by rsync on the server is 600 permission and the password file format is correct. The correct format is: Username: password. The file path corresponds to the secrect files parameter in the configuration file.
7. To push data, check whether the user in the rsyncd. conf file has the read/write permission on the directory under the module.Rsync advantages
1. Incremental Backup synchro
password file configured by rsync on the server is 600 permission and the password file format is correct. The correct format is: Username: password. The file path corresponds to the secrect files parameter in the configuration file.
7. To push data, check whether the user in the rsyncd. conf file has the read/write permission on the directory under the module.Rsync advantages
1. Incremental Backup synchro
Rsync is a data image backup tool in Linux. It can be seen from the software name-remotesync. Rsync supports most Unix-like systems, including Linux, Solaris, and BSD.
I. rsync
CommandIntroduction
Rsync is a command for Synchronizing files to a Linux system. It can synchroni
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.